Trying to run a for loop on a html element while using bs4 but it does not iterate